package com.uade.empresasdistribuidas.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;

@Entity
@Table(name = "Empresas")
@PrimaryKeyJoinColumn(name="numeroCliente", referencedColumnName="numeroCliente")
public class EmpresaDTO extends ClienteDTO {
	
	@Column( name="cuil",nullable=false)
	private Integer cuil;
	
	@Column(name="rubro", nullable=false, length=30)
	private String rubro;
	
	@Column(name="tamaño", nullable=false, length=30)
	private String tamanio;
	
	

}
